.PHONY:all
all:CalServer CalClient

CalServer:CalServer.cpp
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp
CalClient:CalClient.cpp
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -rf CalServer CalClient